<?php
namespace app\zhongkl_forum\controller;

use app\BaseController;
use think\facade\Config;
use think\facade\Env;
class User extends BaseController
{  
   use \liliuwei\think\Jump;  
   public function doreg()
   {
      $x = Config::get('database');
        dump($x);
        //提取环境变量的值 1803010144
        $forum_user =Env::get('read.username');
        $forum_change =Env::get('change.username');
        $forum_admin =Env::get('admin.username');
        echo "第一套默认用户方案$forum_user";
        echo "<br>";
        echo "第二套连接用户方案$forum_change <br>";
        echo "第三套管理员方案$forum_admin";
   }
}
